import request from '@/utils/request';

// 查询自己上传的观后感
export function getMyFeedback(params) {
    return request({
      url: `/Feedback/searchSelfFeedback/${params.pagenum}/${params.pagesize}?uploaderId=${params.id}`,
      method: 'get'
    });
}

// 上传观后感
export function addFeedback(data) {
  return request({
    url: `/Feedback/addFeedback`,
    method: 'post',
    data: data
  })
}
